package com.tedu.ds.customer.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@Data
public class CustomerParam {
    @ApiModelProperty(value = "客户id", example = "1")
    private Long id;

    @ApiModelProperty(value = "用户名", example = "john_doe", required = true)
    private String username;

    @ApiModelProperty(value = "密码", example = "password123", required = true)
    private String password;

    @ApiModelProperty(value = "邮箱", example = "john.doe@example.com")
    private String email;

    @ApiModelProperty(value = "手机号", example = "12345678901")
    private String phone;

    @ApiModelProperty(value = "年龄", example = "30")
    private Integer age;

    @ApiModelProperty(value = "性别（女0男1）", example = "1")
    private String gender;

    @ApiModelProperty(value = "注销时间", example = "2023-10-24T20:00:00")
    private Date deleteTime;

    @ApiModelProperty(value = "状态（启用1取消0）", example = "1")
    private String status;

    @ApiModelProperty(value = "角色id", example = "1")
    private Integer roleId;

    @ApiModelProperty(value = "住址", example = "北京市朝阳区")
    private String address;

    @ApiModelProperty(value = "优惠券", example = "{\"coupon1\": \"10% off\", \"coupon2\": \"5% off\"}")
    private Object coupon;

    @ApiModelProperty(value = "浏览记录", example = "[{\"product_id\": 1, \"view_time\": \"2023-10-24T20:00:00\"}]")
    private Object browseHistory;
}
